package com.bzy.blp.mapper;

import com.bzy.blp.model.TPileRegion;
import com.bzy.blp.model.TPileRegionCriteria;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TPileRegionMapper {
    long countByExample(TPileRegionCriteria example);

    int deleteByExample(TPileRegionCriteria example);

    int deleteByPrimaryKey(Integer id);

    int insert(TPileRegion record);

    int insertSelective(TPileRegion record);

    List<TPileRegion> selectByExample(TPileRegionCriteria example);

    TPileRegion selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TPileRegion record, @Param("example") TPileRegionCriteria example);

    int updateByExample(@Param("record") TPileRegion record, @Param("example") TPileRegionCriteria example);

    int updateByPrimaryKeySelective(TPileRegion record);

    int updateByPrimaryKey(TPileRegion record);

    List<TPileRegion> selectAll(Integer pileProjectId);
}